Skip to main content

All Questions

0votes
0answers
266views

Angular Slick not starting (using JSON Data)

Guys AngularJS newbie here. I'm trying to aply Angular Slick to my Div. I have fetching the image from SQL to JSON (succeeded). Its only display as static image, slideshow not starting. Any mistake ...
Andre Ramadhan's user avatar
0votes
2answers
63views

Angular binding variable not being set from $http scope

Im new to angular and I'm trying to create a simple Signup Form which posts to a database (in json). If the database write is successful, "this.msg" is set to "Post Data Submitted Successfully!" If ...
Kevin's user avatar
1vote
2answers
62views

How can I use ng-repeat to iterate through arrays associated using dynamic keys

I am trying to use ng-repeat to iterate through an array of objects and use each objects ID to look up the data binded to a checklist model. I have the following javascript object in a project I'm ...
sanitycheck's user avatar
0votes
2answers
78views

Angular customer directive with filter and sort

I need to sort the json object with one of the userType thru ng-repeat. Now i was able to retrieve and display the data, and ISSUE is that I need to sort and display two different table the below list;...
zeraroze's user avatar
0votes
3answers
547views

AngularJs not rendering value

I am new to AngularJS and need to use AngularJs to render my MVC controller Json output. Below is my MVC Controller that output Json: [HttpGet] public JsonResult GetAllData() { ...
Pathan's user avatar
0votes
1answer
43views

$watch on directive with isolated scope for nested object as property from crossfilter

I have created a directive with isolated scope, element, and am using those values passed in to build d3/dc charts. So I have some data that is put through crossfilter on the $scope, so that the ...
Justin's user avatar
  • 4,539
0votes
3answers
904views

how to make $http.get Url dynamic in angularjs

Can we make dynamic url like whenever we select a value from first drop down the url should be http://api.fixer.io/latest?base=value. It means when we select value(USD) in first drop down the same ...
jva's user avatar
-1votes
2answers
828views

how to select few json values in drop down in angularjs

i am getting a data from json file and the values using in dropdown but i dont want to use all values,I want to select only three values in my dropdown.
jva's user avatar
0votes
1answer
342views

Call AngularJS directive from controller on click

Quick question, so I'm using tg-dynamic-directive to loop through a json file and output following tree. (See image attached) So the problem is, when the "tree" gets very long there are some serious ...
TSlegaitis's user avatar
0votes
1answer
62views

Angular $http using json file works but using json file with $httpBackend is not working to display data

I can fake getting data from json file with using $http but with $resource/ $httpBackend I don't get any results $http.get (works) $http.get('api/devices.json') .then(function (result) { ...
user avatar
0votes
0answers
350views

Pass json value as ng-model value in angular 1.2

I'm trying to bind 2 separate elements so that one can trigger the other. The first step in this, is adding an identifying variable to my component template. Here's the bullet.html template: <...
moosefetcher's user avatar
0votes
1answer
280views

How do I get data from a json file into an angularjs directive function?

I am trying to use an Angularjs directive to draw canvas elements. I want to pull from a json file to get both the number of canvas elements to draw and properties for the element. // Define the `...
Ryan's user avatar
  • 350
2votes
5answers
754views

Inserting JSON ID key into ng-click directive and then pass that into another controller

This section of the app shows the minimal information of a user's task. When they click the "view details" button it will take them to a page that has more information about that specific CAR based on ...
agon024's user avatar
  • 1,017
-3votes
1answer
66views

Controller data set another page in angular

After that clicked user.html list. I have to show clicked product data in productDetail.html file. ProductController.js $scope.selectedProduct = function(product) { console.log(product....
moni123's user avatar
4votes
1answer
3kviews

How to prevent jwt token getting lost on page refresh in an angularjs application?

I am trying to authorize a user using jwt token. But if i refresh the page, the jwt gets lost and the token is not sent on subsequent requests to the server. I am using localstorage for storing the ...
darkknight's user avatar

153050per page
close